<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
</body>
<script>
  //   .匹配除了回车以外的任何字符
  let hd = `houdunrenh189478ui@##$%&^*()_
            hw235`
  //alert(hd.match(/.+/))//houdunrenh189478ui@##$%&^*()_
  alert(hd.match(/.+/g))//houdunrenh189478ui@##$%&^*()_,            hw235


</script>
</html>